package demo.spring.demo2;

import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * description: <br>
 * createTime: 2020/10/915:32 <br>
 *
 * @author zzh
 */
public class Test {

    public static void main(String[] args) {
//        ApplicationContext app = new ClassPathXmlApplicationContext("classpath:demo/spring/demo2/spring.xml");
//
//        User user = (User) app.getBean("testbean");
//        System.out.println(user.getUserName());
//        System.out.println(user.getEmail());
//        System.out.println("over");
    }
}
